 <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<title>商家管理中心</title>
<script>

document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.call('hideOptionMenu');
});

</script>

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> 
 <script src="http://apps.bdimg.com/libs/jquerymobile/1.4.2/jquery.mobile.min.js"></script>
<script src="__PUBLIC__/Admin/js/artDialog/artDialog.js"></script>
<script src="__PUBLIC__/Admin/js/artDialog/plugins/iframeTools.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/js/artDialog/skins/default.css">

<!--编辑器-->
 
 <!-- include libraries BS3 -->
  <link rel="stylesheet" href="__PUBLIC__/Member/weixin_dg114/summernote/bootstrap.min.css" />
  <script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" />
 
   <!-- include summernote -->
  <link rel="stylesheet" href="__PUBLIC__/Member/weixin_dg114/summernote/summernote.css">
  <script type="text/javascript" src="__PUBLIC__/Member/weixin_dg114/summernote/summernote.js"></script>
   <script type="text/javascript" src="__PUBLIC__/Member/weixin_dg114/summernote/jQuery.imgAutoSize.js"></script>

  <script type="text/javascript">
    $(document).ready(function() {
      $('.textarea-content').summernote({
        height: 200,
        tabsize: 2,
        codemirror: {
          theme: 'monokai'
        },toolbar: [

    ['style', ['style']], // no style button

    ['style', ['fontname','bold', 'italic', 'underline', 'clear']],

    ['fontsize', ['fontsize']],
		
    ['color', ['color']],
    ['para', ['ul', 'ol', 'paragraph']],
    ['height', ['height']],
    ['insert', ['picture', 'link','hr']], // no insert buttons
	['Misc', ['fullscreen','undo','redo']],
    //['table', ['table']], // no table button
    //['help', ['help']] //no help button
  ]
      });
	  
	   $('.textarea-content1').summernote({
        height: 200,
        tabsize: 2,
        codemirror: {
          theme: 'monokai'
        },toolbar: [

    ['style', ['style']], // no style button

    ['style', ['fontname','bold', 'italic', 'underline', 'clear']],

    ['fontsize', ['fontsize']],
		
    ['color', ['color']],
    ['para', ['ul', 'ol', 'paragraph']],
    ['height', ['height']],
    ['insert', ['picture', 'link','hr']], // no insert buttons
	['Misc', ['fullscreen','undo','redo']],
    //['table', ['table']], // no table button
    //['help', ['help']] //no help button
  ]
      });
	  
	   $('.textarea-content2').summernote({
        height: 200,
        tabsize: 2,
        codemirror: {
          theme: 'monokai'
        },toolbar: [

    ['style', ['style']], // no style button

    ['style', ['fontname','bold', 'italic', 'underline', 'clear']],

    ['fontsize', ['fontsize']],
		
    ['color', ['color']],
    ['para', ['ul', 'ol', 'paragraph']],
    ['height', ['height']],
    ['insert', ['picture', 'link','hr']], // no insert buttons
	['Misc', ['fullscreen','undo','redo']],
    //['table', ['table']], // no table button
    //['help', ['help']] //no help button
  ]
      });
	  
	  
    });
  </script>
 


<!--编辑器--> 
 <link rel="stylesheet" href="__PUBLIC__/Member/weixin_dg114/summernote/jquery.mobile.css" />

 
 

 <script>
 
 

 function reloads(){
	 alert('提交成功');
	 location.reload();
	 
	 }
 var mydialog = art.dialog;
 
 function closedialog(){
	 mydialog.close();
}
 function showImgBox(curElement,heid,type){
	 
if(type==1){ title_='自由上传';}
else if(type==2){ title_='上传大图';}else{title_='上传图片';}
 
 	mydialog.open("{:U('showimgBox')}", {
		
		width:$(window).width(), height: 300,lock:true,title:title_,yesClose:false, ok:function(){
			var d = this.iframe.contentWindow.document;
			
			
		$.post(
		"{:U('Jcrop')}",
		{	type:$(d).find('#type').val(),
			x:$(d).find('#x').val(),
		    y:$(d).find('#y').val(),
			w:$(d).find('#w').val(),
			h:$(d).find('#h').val(),
			src:$(d).find('#img_src').val() 
			},
			function(data){
			if(data == 'OK'){
				$('#'+heid).val($(d).find('#img_src').val());
				curElement.src = $(d).find('#img_src').val();
				closedialog();
			}
		}
		
		); 
		
		
		
		
	
			
		
	}});
}
 </script>
<style>
body{ background:#eeeeee; }
 .i{ width:20px; background:url(__PUBLIC__/Member/weixin_dg114/jiantou.png) no-repeat center;color:#000; 
background-size:55%;} 
.table{ background:#FFF; width:100%;}
table tr td{ padding-left:0.8rem; border-bottom:1px solid #e5e5e5; }
table tr:hover{ background:#f7f7f7;}
.table tr td img{ width:75px; height:75px; border-radius:6px;}
.table tr .td1{ width:70px; height:88px; }
 .table2{ width:100%; background:#FFF;}
.table2 tr td{ height:3.1rem;}
table tr td a{ width:100%; display:inline-block; text-decoration:none; color:#333 !important; height:3rem; line-height:3rem;
font-weight:normal !important;} 
.simditor .simditor-body,.simditor .simditor-wrapper .simditor-placeholder{ padding:10px !important}
.btn-group{ margin-left:1px !important; margin-right:1px !important;}
 
.note-editor{  border:1px solid #cfcfcf !important}
.u_btn_b{ width:100%; height:40px; line-height:40px; text-align:center; background:#f2f2f2; border:1px solid #d8d8d8; border-radius:0.3rem;} 
.ui-header a{padding: 0.5rem 1rem 0.5rem 2rem;}
.ui-input-text, .ui-input-search{ margin:.2em 0 .5em !important;
}
.wysiwyg-editor{ padding:5px;} 
.ui-radio .ui-btn.ui-radio-on:after{ width:18px; height:18px;}
.ui-checkbox input, .ui-radio input{ left: .71em; top: 58%;}
.ui-btn, label.ui-btn{ border:1px solid #dfdfdf}
 </style>
</head>

<body >
 
<div data-role="page" id="pageone" style="background:#eeeff3">
 
<div data-role="content" style="padding:0;">
<table class="table" cellpadding="0" cellspacing="0" style="margin-bottom:0">
<tr onClick="location='#pagetwo1'">

<td class="td1">
<a href="#pagetwo1" data-transition="flow" style="height:80px; padding-top:2px;padding-bottom:8px;">
<img  src="{$info.img_url}?<?php echo time();?>"/>
</a>
</td>

<td style="background:url(__PUBLIC__/Member/weixin_dg114/tb/tx.png) no-repeat; background-size:2rem; background-position:right">
<a href="#pagetwo1" data-transition="flow" >
<p style="line-height:1.6em; margin-top:0px;">{$info.name} <br><span style="font-size:0.9rem; color:#9a9a9a;">{$info.tel}</span>


</p>
</a>

</td>
<td class="i"></td></tr>
</table>

 
<style>
.tf{ width:100%; background:#FFF; height:3rem; margin-bottom:20px;}
#tb{ width:40px; background-size:75% !important;  text-align:center;}
.count{ width:100%; height:3rem; background:#FFF; line-height:3rem;}
.count tr td{ width:50%;}
.count tr td span{ float:right; margin-right:0.8rem; color:#626262;}
.ui-shadow{ box-shadow:none}
textarea{ border:none !important; text-shadow:none !important; background:none !important}
.ui-focus ,.u_txt{ background:none !important; text-shadow:none !important;
 -moz-box-shadow: none !important;
 -webkit-box-shadow: none !important;
 box-shadow: none !important;
 
}
.ui-input-text, .ui-input-search{ margin:.2em 0 .5em !important;
}
.wysiwyg-editor{ padding:5px;} 
</style>

 <table class="count" cellpadding="0" cellspacing="0">
<tr>
<td>访问人数<span>{$info.ip} &nbsp;人 </span></td>
<td style="border-left:1px solid #d8d8da;">访问次数<span>{$info.ips} &nbsp;次 </span></td>
</tr>

</table>

<table class="table2" cellpadding="0" cellspacing="0" >

 
<tr><td colspan="3" style="background:#eeeff3; height:14px !important"></td></tr>

<tr onClick="location='#pagetwo14'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/mp.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo14" data-transition="flow">个人资料</a></td><td class="i"></td></tr>

<tr><td colspan="3" style="background:#eeeff3; height:14px !important"></td></tr>


<tr onClick="location='{:U('Member/Vcard/company',array('type'=>'jc'))}'" data-ajax="false">
<td  id="tb" style=" background:url(__PUBLIC__/Member/weixin_dg114/tb/js.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="{:U('Member/Vcard/company',array('type'=>'jc'))}"   data-transition="flow" data-ajax="false">企业基础资料</a></td>
<td class="i"></td></tr>

<tr onClick="location='{:U('Member/Vcard/company',array('type'=>'xx'))}'" data-ajax="false">
<td  id="tb" style=" background:url(__PUBLIC__/Member/weixin_dg114/tb/yl.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="{:U('Member/Vcard/company',array('type'=>'xx'))}"   data-transition="flow" data-ajax="false">企业详细资料</a></td>
<td class="i"></td></tr>


<tr><td colspan="3" style="background:#eeeff3; height:14px !important"></td></tr>
<tr onClick="location='#pagetwo12'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/cp.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo12" data-transition="flow">我的发布</a></td><td class="i"></td></tr>

<tr onClick="location='#pagetwo29'">
<td  id="tb" style=" background:url(__PUBLIC__/Member/weixin_dg114/tb/qr.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo29" data-transition="flow">我的推广</a></td>
<td class="i"></td></tr>
<tr><td colspan="3" style="background:#eeeff3; height:14px !important"></td></tr>



 
<tr onClick="location='#pagetwo9'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/sc.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo9" data-transition="flow">我的收藏</a></td><td class="i"></td></tr>

 


   </table>
   

 

</div>
<include file="Public:footervcard" />
 </div>
 
  
  
   <!-- 个人资料 -->
 
 <div data-role="page" id="pagetwo14">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="#pageone" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">个人资料</h1>
</div>
<div data-role="content" style="padding:0;">
 
<table class="table2" cellpadding="0" cellspacing="0" >

<tr onClick="location='#pagetwo15'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/gr1.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo15" data-transition="flow">个人资料</a></td><td class="i"></td></tr>

<tr onClick="location='#pagetwo16'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/gr2.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo16" data-transition="flow">个性签名</a></td><td class="i"></td></tr>

<tr><td colspan="3" style="background:#eeeff3; height:14px !important"></td></tr>


<tr onClick="location='#pagetwo18'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/gr3.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo18" data-transition="flow">上传大图</a></td><td class="i"></td></tr>

  
 
 </table>
 

</div>
<include file="Public:footervcard" />
 </div>
  <!-- end个人资料 -->
 
 
   <!-- 我的推广 -->
 
 <div data-role="page" id="pagetwo29">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="#pageone" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">我的推广</h1>
</div>
<div data-role="content" style="padding:0;">
 
<table class="table2" cellpadding="0" cellspacing="0" >
 
<tr onClick="location='#pagetwo2'">
<td  id="tb" style=" background:url(__PUBLIC__/Member/weixin_dg114/tb/qr.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo2" data-transition="flow">获取二维码</a></td>
<td class="i"></td></tr>

<tr onClick="location='#pagetwo28'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/jc.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo28" data-transition="flow">分享标题</a></td><td class="i"></td>
</tr> 
<tr onClick="location='#pagetwo30'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/js.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo30" data-transition="flow">分享描述</a></td><td class="i"></td>
</tr> 
 
 </table>
 

</div>
<include file="Public:footervcard" />
 </div>
  <!-- end我的推广 --> 
 
 


   <!-- 个性签名 -->
 
 <div data-role="page" id="pagetwo16">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">个性签名</h1>
</div>
<div data-role="content" >
 <div class="bd">
  <form id="tj" action="{:U('update')}" data-ajax="false" method="post">
     
      
  <input class="u_txt" placeholder="个人签名" name="qm" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.qm}">
               
          
           <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交"  >
          </div>
        
      </form>
 
</div>
</div>
<include file="Public:footervcard" />
 </div>
  <!-- end个性签名 -->
 
    <!-- 分享标题 -->
 
 <div data-role="page" id="pagetwo28">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">分享标题</h1>
</div>
<div data-role="content" >
 <div class="bd">
  <form id="tj" action="{:U('update')}" data-ajax="false" method="post">
     
      
  <input class="u_txt" placeholder="分享标题" name="mp_title" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.mp_title}">
               
          
           <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交"  >
          </div>
        
      </form>
 
</div>
</div>
<include file="Public:footervcard" />
 </div>
  <!-- end分享标题 -->
  
  
      <!-- 分享描述 -->
 
 <div data-role="page" id="pagetwo30">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">分享描述</h1>
</div>
<div data-role="content" >
 <div class="bd">
  <form id="tj" action="{:U('update')}" data-ajax="false" method="post">
     
      
  <input class="u_txt" placeholder="分享描述" name="mp_desc" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.mp_desc}">
               
          
           <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交"  >
          </div>
        
      </form>
 
</div>
</div>
<include file="Public:footervcard" />
 </div>
  <!-- end分享描述 -->
 
  
    
   <!-- 个人资料 -->
 
 <div data-role="page" id="pagetwo15">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b"  data-transition="flip">返回</a>
<h1 style="text-shadow:none">个人资料</h1>
</div>
<div data-role="content" style="padding:1em;">
 
 
 <div class="bd">
       <form id="tj" action="{:U('update')}" data-ajax="false" method="post">
             
              <input class="u_txt zl_name" placeholder="姓名" dataType="*" name="name" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.name}">
               <input class="u_txt sfa" placeholder="身份或职位" dataType="*" name="sf" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.sf}">
        
              <input  class="u_txt zl_tel" placeholder="手机" name="tel" id="tel" value="{$info.tel}"> 
               <input  class="u_txt zl_address"   name="address" type="hidden"   value="{$info.address}"> 
               
              <input class="u_txt" placeholder="微信号" name="wx" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.wx}">
       
           <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交"  >
          </div>
        
      </form>
  
     </div>
 
 
 
 

</div>
<include file="Public:footervcard" />
 </div>
  <!-- end个人资料 -->
  
  
  
  
 
  <!-- 我的产品 -->
 
 <div data-role="page" id="pagetwo12">
<div data-role="header" style="background:#2f2f2f; color:#FFF;border-width:0">
<a href="#pageone" data-role="button" data-icon="home" data-theme="b"   data-transition="flip">返回</a>
<h1 style="text-shadow:none">我的发布</h1>
</div>
<div data-role="content" style="padding:0;">
 
<table class="table2" cellpadding="0" cellspacing="0" >
  <tr onClick="location='#pagetwo6'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/gr3.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="#pagetwo6" data-transition="flow">我要发布</a></td><td class="i"></td></tr>

<tr onClick="location='{:U('Member/Vcard/company',array('type'=>'pro'))}'">
<td id="tb" style=" background:url(__PUBLIC__/Member/weixin_dg114/tb/logo.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a  href="javascript:;" data-transition="flow">产品列表</a></td><td class="i"></td></tr>

<tr onClick="location='{:U('Member/Vcard/company',array('type'=>'news'))}'">
<td id="tb" style="  background:url(__PUBLIC__/Member/weixin_dg114/tb/ggy.png) no-repeat center"></td>
<td style="padding-left: 0.2rem;"><a href="javascript:;" data-transition="flow">新闻列表</a></td><td class="i"></td></tr>
  </table>
 

</div>
<include file="Public:footervcard" />
 </div>
  <!-- end我的产品 -->
 
 <style>
.touxiang{ height:12rem; width:8rem; margin:0 auto;} 
.touxiang img{ width:8rem; height:8rem;   margin-top:3rem;}
.touxiang img:hover{ opacity:0.7;} 
.bd input{ height:3rem; background:#FFF;  }
.bd .u_btn_b{ height:3rem;}
.h .ui-btn{ line-height:1.5rem;}
#edui1,#edui60,#edui60_iframeholder,#edui1_iframeholder{ width:100% !important; }
  </style>
 
 
 <!-- 修改头像  -->
 <div data-role="page" id="pagetwo1" >





  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
  <a href="{:U('Member/Vcard/edit')}" data-ajax="false" data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
  <h1 style="text-shadow:none">修改头像</h1> 
</div>
   <div data-role="content" style=" padding:0;" >
   <div class="touxiang">
   <img onClick="showImgBox(this,'head__');" id="cardf" src="{$info.img_url}"/>
   
   <input type="hidden" value="" id="head__">
   
</div>
 <a href="#copytx" data-rel="dialog" class="jianq" style="display:none">fff</a>  
  <table class="table2" cellpadding="0" cellspacing="0" style="border-top:1px solid #f2f2f2; margin-top:2rem;">
 <tr onClick="uptx()">
<td  style="background:url(__PUBLIC__/Home/weixin_dg114/menber/images/pic.png) no-repeat 10px center; background-size:40px;">
 <a  data-transition="flow" style="padding-left:45px;">从相册选一张</a></td>
 <td class="i"></td>
</tr>

 
 
</table>
 <script>
 function uptx(){
	 
	 
	$("#cardf").click(); 
	 
	 
	 }
 
  
 
 
 
 document.getElementById('cardf').onload=function(){
	 
	 if($("#head__").val() != ''){
		var img_s=$("#head__").val();
		var url_imgtx="{:U('update')}";
		
		$.post(
		url_imgtx,
		{img_url:img_s},
		function(a){
			 
				$("#head__").val(''); 
			
			},
		'html'
 		
		);
		
		 
		 }
	 
	 
	 
	 }

</script>

 
   
    
  </div>

  <include file="Public:footervcard" />
 
</div> 
<!-- end修改头像 -->

 
 

 
  <!-- 上传背景图  -->
<div data-role="page" id="pagetwo18" >
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
  <a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
  <h1 style="text-shadow:none">上传大图</h1> 
<a href="" data-role="button" data-icon="check" class="bg_tj" style="background:#0ca31a; margin-top:2px;text-shadow:none; color:#FFF; border:none" data-transition="flip">保存</a>
</div>
   <div data-role="content" style=" padding:0;"  >
   
   <table class="table2" cellpadding="0" cellspacing="0" style="border-top:1px solid #f2f2f2; margin-top:1rem; ">
 <tr class="banner_up"> 
<td style="background:url(__PUBLIC__/Home/weixin_dg114/menber/images/pic.png) no-repeat 10px center; background-size:40px;"> <a  data-transition="flow" style="padding-left:45px;">上传大图</a></td><td class="i"></td>
</tr> 

 
 
</table>
<style>
#banlist li{ width:47%; margin-left:2%; float:left}
 
</style>
<div>
<div style="height:10px;"></div>
<ul  id="banlist">
   <volist name="banner" id="vo">
  
 <li>
   <div style="border:1px solid #e5e5e5; padding:5px" class="fous_ban"> 
   <img src="{$vo}" width="100%">
   <div style="clear:both;"></div>
   <div style="text-align:center; line-height:3rem">
    <a href="" data-role="button" style="width:92%; background:#FFF; border:1px solid #cecece; color:#6b6b6b; padding:6px 38%; display:none" class="delete_bg" >删除</a>
</div>
   </div>
  </li> 
  </volist>
  
  </ul>
  
   <form id="bg_tj_sub" action="{:U('update')}" data-ajax="false" method="post">
   <input  name="bg"  type="hidden"  value="{$info.bg}" id="infobg">
               
            <div class="clearfix form_line save h" style="padding-top:10px;">
            
          </div>
        
      </form>
 
</div>
 
<!--图片上传-->
  <img onClick="showImgBox(this,'banner',2)" id="banner_img" class="banner__" style="display:none"/>
   
   <input type="hidden" value="" id="banner">
    <script>
 
 $(function(){
	 
	 $(".delete_bg").click(function(){ 
	 
	 $(this).parent("div").parent(".fous_ban").parent("li").remove();
 		
		 $ii=0;
		 $ii2=0;
		 var bg_url_='';
		 $(".fous_ban img").each(function(){
			$ii=++$ii;
		 });
		  
 		$(".fous_ban img").each(function(){
		  $ii2=++$ii2;
		  
			if($ii2 == $ii ){
				bg_url_ += $(this).attr('src');
				}else{
		     bg_url_ += $(this).attr('src')+",";
					}
						
 	  
	 $("#infobg").val(bg_url_);	
				
   			}); 
	 
		 });
	 
	 $(".bg_tj").click(function(){
 		 $("#bg_tj_sub").submit();
		 });
	 
	 
	 $(".fous_ban").hover(function(){
		$(this).find("a").show(); 
     },
     function(){
   $(this).find("a").hide(); 
     });
	 
	 
	 $(".banner_up").click(function(){ 
  		 $ix=0;
 		 $("#banlist li").each(function(){
			$ix=++$ix;
		 });
	   if($ix > 5){ alert('大图限制5张'); return false;}
	   else{
		$(".banner__").click();   
		   }
		 
		 
		 
  		 });
	 });
  document.getElementById('banner_img').onload=function(){ 
     
	 var img=$("#banner").val();
	 var infobg=$("#infobg").val();
	  if(infobg != ''){
		 $("#infobg").val(infobg+','+img); 
  		  }
	  else{ $("#infobg").val(img);}
	  
   var add_bg='<li><div style="border:1px solid #e5e5e5; padding:5px" class="fous_ban"><img src='+img+' width="100%"></div><a href="" data-role="button" style="width:92%; padding:6px; display:none" data-icon="delete">删除</a></li>';
    
   $("#banlist").append(add_bg);
    
	 
	 }

</script>
 <!--end图片上传-->
 
   
<div style="height:50px; clear:both"></div>
</div>  
    <include file="Public:footervcard" />
  </div>
  
 
 
<!-- end上传背景图 -->
 
 
<!-- 基本资料  -->
<div data-role="page" id="pagetwo2">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
  <a href="#pageone"data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
<h1 style="text-shadow:none">我的二维码</h1>
</div>

  <div data-role="content" style="text-align:center;">
     
     <img  onClick="upimg()" id="card" src="http://qr.liantu.com/api.php?bg=f3f3f3&fg=ff0000&gc=222222&el=l&w=150&m=10&text=http://mp.dgwzjs.com/Vcard/index/member_id/{$info.member_id}" width="70%" style="margin:3rem 0 1rem; border-radius:10%; border:10px solid #ea6000;"/>
   <p style="color:#979799">扫描二维码</p> 
  </div>

  <include file="Public:footervcard" />
 
</div> 
<!-- end基本资料 -->



 

 
 

 

<!-- 地址 -->

<div data-role="page" id="pagetwo21">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
  <a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
<h1 style="text-shadow:none">地址管理</h1>
</div>

  <div data-role="content" >
   
  
    <div class="bd">
       <form id="tj" action="{:U('update')}" data-ajax="false" method="post">
      
        
              <input class="u_txt weixinaddress" placeholder="地址" name="address" id="BasicInfoForm_nickname" type="text" maxlength="50" value="{$info.address}">
            
           <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交"  >
          </div>
        
      </form>
  
     </div> 
  </div>
  
   
  <script>
  <if condition="$is_weixin">
  
 $(function(){
	  
	$(".zl_name").focus(function(){  
		 
		 get_addres();
		 
		}); 
	 
	 
	  
	 }); 
	 
//微信

function get_addresinfo()
		{ 
			
			WeixinJSBridge.invoke(
				'editAddress',{:stripslashes($addressSign_info)},
			function(res){ 
				
				if(res.err_msg == 'edit_address:ok'){  
					 var a=res.proviceFirstStageName+res.addressCitySecondStageName+res.addressCountiesThirdStageName+res.addressDetailInfo;	 var name=res.userName;
					 var tel=res.telNumber;
					 $(".weixinaddress").val(a);
 					 
					 
					 $(".zl_tel").val(tel);
					 $(".zl_name").val(name);
					 $(".zl_address").val(a);
					 $(".sfa").focus(); 
					 
					
				}else{
					//alert(res.err_msg+'您取消了获取微信地址信息！');
				}
					
				} 
		 );
		}	
function get_addres()
		{
			if (typeof WeixinJSBridge == "undefined"){
			    if( document.addEventListener ){
			        document.addEventListener('WeixinJSBridgeReady', get_addresinfo, false); 
			    }else if (document.attachEvent){
			        document.attachEvent('WeixinJSBridgeReady', get_addresinfo); 
			        document.attachEvent('onWeixinJSBridgeReady', get_addresinfo);
			    }
			}else{
			    get_addresinfo();
			}
		}
		
	 //------------------

</if>



  
   
  function tj(){
	  
var tel=$("#tel").val();
var phone=$("#phone").val();	  
 /*

if(!$("#tel").val().match(/^[0-9]+$/)){
	$("#tel").css({"color":"#a83e3e","border-color":"#ebcbd0","background":"#f2dedf"});
 	return false;
	}
	
 
    
	
if(!$("#email").val().match(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/)){
	$("#email").css({"color":"#a83e3e","border-color":"#ebcbd0","background":"#f2dedf"});
	return false;
	} 

if(!$("#phone").val().match(/^[\d]+[\d-]+[\d]$/)){
	$("#phone").css({"color":"#a83e3e","border-color":"#ebcbd0","background":"#f2dedf"});
	return false;
	} 
	
*/	 
	 
$("#tj").submit(); 
     
	 }

  
  $(function(){
	 $("#tel").focus(function(){
		 $("#tel").removeAttr("style");
		  });
		  
	  $("#email").focus(function(){
		 $("#email").removeAttr("style");
		  });
		  
	  $("#phone").focus(function(){
		 $("#phone").removeAttr("style");
		  });
	 
	 
	 });
 
 
 
  </script>
  
<include file="Public:footervcard" />

   
</div>
<!--end地址-->





 <!-- 个人介绍  -->
<div data-role="page" id="pagetwo4">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
   <a href="#pageone"data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
<h1 style="text-shadow:none">个人介绍</h1>
</div>

  <div data-role="content">
   <form id="basicInfoForm" action="{:U('update')}" data-ajax="false" method="post">
      <textarea class="u_txt" name="grjs" id="BasicInfoForm_nickname" type="text" placeholder="填写个人介绍，然后提交"   style="width:100%; height:165px;" >{$info.grjs}</textarea>
               <div class="clearfix form_line save h" style="padding-top:10px;">
            <input class="u_btn_b" type="submit" value="提交" id="upload_btn">
          </div>
              </form>
   
  </div>

  <include file="Public:footervcard" />
 
</div> 
<!-- end个人介绍 -->


 
 <!-- 发布产品  -->
<div data-role="page" id="pagetwo6">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
  <a href="javascript:history.go(-1);" data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a><h1 style="text-shadow:none">发布产品</h1>
</div>

  <div data-role="content" style="padding:1em 0;">
  
  <if condition="$_GET['pro']" >
  
 <volist name="list" id="vo">
 <eq name="vo['id']" value="$_GET['pro']">
    <!-- ddd -->
  <div class="touxiang" style="height:auto !important">
   <img  onClick="showImgBox(this,'img_url1')" id="card2" src="{$vo.img_url}" style="margin-top:0;"/>
</div>   
   
  <table class="table2" cellpadding="0" cellspacing="0" style="border-top:1px solid #f2f2f2; margin-top:1rem;">
 <tr onClick="showImgBox(this,'img_url1')">
<td style="background:url(__PUBLIC__/Home/weixin_dg114/menber/images/pic.png) no-repeat 10px center; background-size:40px;"> <a  data-transition="flow" style="padding-left:45px;">上传产品图片</a></td><td class="i"></td>
</tr>

 
 
</table>

<!--图片上传-->
  <img onClick="showImgBox(this,'uppro_img_',1)" id="uppro_img" class="uppro__" style="display:none"/>
   
   <input type="hidden" value="" id="uppro_img_">
    <script>
 $(function(){
 	 $(".textarea-content").siblings('.note-editor').find(".note-group-select-from-files").find("label").click(
	 function(){
		 
		 $(".uppro__").click(); 
		 }
	 ); 
	
	 
	 });
  document.getElementById('uppro_img').onload=function(){ 
     
	 var img=$("#uppro_img_").val();
	 var img="http://"+window.location.host+"/"+img;
     $(".textarea-content").siblings('.note-editor').find(".ui-body-inherit").find(".note-image-url").val(img);
	 $(".textarea-content").siblings('.note-editor').find(".note-image-btn").removeAttr("disabled");
	 $(".textarea-content").siblings('.note-editor').find(".note-image-btn").removeClass("disabled");
	
	  
	 }





</script>
 <!--end图片上传-->
    <div class="maincon" style="padding:0.5em">
    <form class="checkform uppro_" id="active-question-form" action="/29?g=Member&m=Info&a=update" method="post" data-ajax="false">    <div class="wenform error">
    
   <input type="hidden" id="img_url1" name="img_url" value="{$vo.img_url}">
    
    
    
  <input name="title" placeholder="标题" value="{$vo.title}"/>
    <input name="id" value="{$vo['id']}" type="hidden" />
    
    <volist name="infocateList" id="vo">
    <option value="{$vo.id}" <eq name="vo['id']" value="$info['infocategory_id']">selected="selected"</eq>>{$vo.title}</option>
    </volist>
    </select>
<span style="font-size:0.8rem;">用电脑打开<font style="font-weight:bold">mp.dgwzjs.com</font>

,（二维码扫描登陆）编辑名片</span>
    <textarea class="u_txt textarea-content" name="content" id="textarea-content" type="text"   style="width:100%; height:165px;" >{$vo.content}
     </textarea>	 
 
        
        <div class="">
       <button type="submit" class="u_btn_b" style="padding:5px 24px; line-height:2rem; float:inherit; display:block; margin:5px auto;" title="提交">提交</button>
            <div class="clear"> </div>
        </div>
    </div>
    </form>
  

</div>
   <!-- dd --> 
   </eq>
 </volist>  
 
 
 
  <volist name="listnews" id="vo">
 <eq name="vo['id']" value="$_GET['pro']">
    <!-- ddd -->
  <div class="touxiang" id="productimg" style="height:auto !important">
   <img  onClick="showImgBox(this,'img_url__')" id="card2" src="{$vo.img_url}" style="margin-top:0;"/>
</div>   
   
  <table class="table2" cellpadding="0" cellspacing="0" style="border-top:1px solid #f2f2f2; margin-top:1rem;">
 <tr onClick="showImgBox(document.getElementById('card2'),'img_url__')">
<td style="background:url(__PUBLIC__/Home/weixin_dg114/menber/images/pic.png) no-repeat 10px center; background-size:40px;"> <a  data-transition="flow" style="padding-left:45px;">上传产品图片</a></td><td class="i"></td>
</tr>

 
 
</table>

<!--图片上传-->
  <img onClick="showImgBox(this,'upnews_img_',1)" id="upnews_img" class="upnews__" style="display:none"/>
   
   <input type="hidden" value="" id="upnews_img_">
    <script>
 	
	
$(function(){
 	 $(".textarea-content1").siblings('.note-editor').find(".note-group-select-from-files").find("label").click(
	 function(){
		 
		 $(".upnews__").click(); 
		 }
	 ); 
	
	 
	 });
  document.getElementById('upnews_img').onload=function(){ 
     
	 var img=$("#upnews_img_").val();
	 var img="http://"+window.location.host+"/"+img;
     $(".textarea-content1").siblings('.note-editor').find(".ui-body-inherit").find(".note-image-url").val(img);
	 $(".textarea-content1").siblings('.note-editor').find(".note-image-btn").removeAttr("disabled");
	 $(".textarea-content1").siblings('.note-editor').find(".note-image-btn").removeClass("disabled");
	
	  
	 }



</script>
 <!--end图片上传-->

 
    <div class="maincon" style="padding:0.5em">
    <form class="checkform upnews_" id="active-question-form" action="{:U('Member/Vcard/updateinfo')}" method="post" data-ajax="false">    <div class="wenform error">
    
   <input type="hidden" id="img_url__" name="img_url" value="{$vo.img_url}">
    
    
    
  <input name="title" placeholder="标题" value="{$vo.title}"/>
    <input name="id" value="{$vo['id']}" type="hidden" />
    
    <volist name="infocateList" id="vo">
    <option value="{$vo.id}" <eq name="vo['id']" value="$info['infocategory_id']">selected="selected"</eq>>{$vo.title}</option>
    </volist>
    </select>
<span style="font-size:0.8rem;">用电脑打开<font style="font-weight:bold">mp.dgwzjs.com</font>

,（二维码扫描登陆）编辑名片</span>
    <textarea class="u_txt textarea-content1" name="content" id="textarea-content1" type="text"   style="width:100%; height:165px;" >{$vo.content}
     </textarea>	 
 
        
        <div class="">
       <button type="submit" class="u_btn_b" style="padding:5px 24px; line-height:2rem; float:inherit; display:block; margin:5px auto;" title="提交">提交</button>
            <div class="clear"> </div>
        </div>
    </div>
    </form>
  

</div>
   <!-- dd --> 
   </eq>
 </volist> 
 
  <else />
  
  
    <!-- ddd -->
  
   <div class="touxiang" id="productimg" style="height:auto !important">
   <img  onClick="showImgBox(this,'img_url_')" id="card2" src="{$vo.img_url}" class="adafa" style="margin-top:0;"/>
</div>   
  <table class="table2" cellpadding="0" cellspacing="0" style="border-top:1px solid #f2f2f2; margin-top:2rem;">
 <tr onClick="showImgBox(this,'img_url_')"> 
<td style="background:url(__PUBLIC__/Home/weixin_dg114/menber/images/pic.png) no-repeat 10px center; background-size:40px;"> <a  data-transition="flow" style="padding-left:45px;">上传产品图片</a></td><td class="i"></td>
</tr>

 
 
</table> 

 
<!--图片上传-->
  <img onClick="showImgBox(this,'fpcp_img_',1)" id="fpcp_img" class="fpcp__" style="display:none"/>
   
   <input type="hidden" value="" id="fpcp_img_">
    <script>
	
	$(function(){
	var uppro_img=$(".adafa").attr('src'); 
	if(uppro_img=='/'){
		$(".fpcp_")[0].reset();
		$(".note-editable").html('');
 		}
 	});
	
	
 $(function(){
 	 $(".textarea-content2").siblings('.note-editor').find(".note-group-select-from-files").find("label").click(
	 function(){
		 
		 $(".fpcp__").click(); 
		 }
	 ); 
	
	 
	 });
  document.getElementById('fpcp_img').onload=function(){ 
     
	 var img=$("#fpcp_img_").val();
	 var img="http://"+window.location.host+"/"+img;
     $(".textarea-content2").siblings('.note-editor').find(".ui-body-inherit").find(".note-image-url").val(img);
	 $(".textarea-content2").siblings('.note-editor').find(".note-image-btn").removeAttr("disabled");
	 $(".textarea-content2").siblings('.note-editor').find(".note-image-btn").removeClass("disabled");
	
	  
	 }

</script>
 <!--end图片上传-->
 <style>
 .ui-radio{ margin-bottom:2px; }
 </style>
 
   <div class="maincon" style="padding:0.5em">
    <form class="checkform fpcp_" id="active-question-form" action="{:U('Member/Vcard/insert')}" data-ajax="false" method="post" > 
     <div class="wenform error">
    
   <input type="hidden" name="img_url" id="img_url_" value="">
    <fieldset data-role="controlgroup">
   
  <label for="radio-choice-1" class="btn btn-default btn-lg" >发布产品</label>
  <input type="radio" name="type"  id="radio-choice-1" value="art" checked="checked" style="display:none;" />
 
   <label for="radio-choice-2" class="btn btn-default btn-lg" >发布新闻</label>
   <input type="radio" name="type" id="radio-choice-2" value="news" style="display:none"/>
   
</fieldset>
  <input name="title" placeholder="产品标题"/>
    
    
    <volist name="infocateList" id="vo">
    <option value="{$vo.id}" <eq name="vo['id']" value="$info['infocategory_id']">selected="selected"</eq>>{$vo.title}</option>
    </volist>
    </select>
    <span style="font-size:0.8rem;">用电脑打开<font style="font-weight:bold">mp.dgwzjs.com</font>

,（二维码扫描登陆）编辑名片</span>
    <textarea class="u_txt textarea-content2" name="content" id="textarea-content2" type="text"  placeholder="填写产品介绍，然后提交" style="width:100%; height:165px;" ></textarea>	 
 
        
        <div class="">
            
            
      <button type="submit" class="u_btn_b" style="padding:5px 24px; line-height:2rem; float:inherit; display:block; margin:5px auto;" title="提交">提交</button>
            <div class="clear"> </div>
        </div>
    </div>
    </form>
  

</div>
   <!-- dd --> 
  
  
  </if>
  
  

  </div>

 <include file="Public:footervcard" />
  
</div> 
<!-- end发布产品 -->

<style>
.ui-block-a{ padding-right:2px;}
.ui-block-b{ padding-left:2px;}

</style>

  <!-- 我的收藏  -->
<div data-role="page" id="pagetwo9">
  <div data-role="header" style="background:#2f2f2f; color:#FFF; border-width:0">
   <a href="#pageone"data-role="button" data-icon="home" data-theme="b" data-transition="flip">返回</a>
<h1 style="text-shadow:none">我的收藏</h1>
</div>
<script>
$(function(){
$(".sc").hover(function(){ 
	    $(this).children(".f").fadeIn(100);},
    function(){
		$(this).children(".f").fadeOut(100);}
     );
 	
 	});

function dels(id){
	
	$.post(
	"__APP__?g=Member&m=Vcard&a=dels",
	{"scid":id},
	function(data){
		if(data['a']==1){alert('删除成功！');location.reload();}
		else{alert('删除失败！');}
		
		},
	"json"
	);
	
	
	}

 </script>
 <div data-role="content" style="padding:5px;">
  <div class="ui-grid-a">
   
  <volist name="scs" id="vo">
  
 
  <div  class='pro <if condition="($i%2) eq 0">ui-block-b<else />ui-block-a</if>' style=" position:relative; text-align:center; ">
  <div style="background:#f9f9f9; border:0;  position:absolute; top:0; right:0; z-index:999; height:55px;" class="f">
   <a href="javascript:dels({$vo.member_id});" style="font-size:12px; background:#FFF; padding:4px 10px 4px 25px; width:25px; height:25px; line-height:20px; font-size:0.7rem" data-role="button" data-icon="delete" class="ui-btn-right" data-ajax="false">
   </a>
  </div>
   <div style="border:1px solid #e5e5e5;   padding:5px"> 
  <a href="__APP__/Vcard/index/member_id/{$vo.member_id}.html" data-ajax="false"> <img src="{$vo.img_url}" width="100%"></a>
   </div>
   <p style="padding:5px 0; margin:0; font-size:0.9rem; line-height:1.6rem">{$vo.name}</p> 
   
   
  </div>
  
  </volist>
  
  </div> 
    
   
   
  </div>
 <div style="height:40px;"></div>
  <include file="Public:footervcard" />

</div> 
  
  
 
 
 
 
  
</body>
</html>
